package com.example.wod.retrofitdemo.Bean;

import java.util.List;

/**
 * Created by Wod on 2016/1/18.
 */
public class Get_Oneyuan_List {

    /**
     * code : SUCCESS
     * info : 获取成功！
     * data : [{"id":"5","uid":"0","sid":"4","status":"0","end_number":"10000001","start_number":"10000001","addtime":"1450841476","shop_id":"1","periods":"1","number":"0","endtime":"0","price":"1000","y_price":"3","action_num":"0","name":"苹果手机","photo":"http://7xp4uq.com1.z0.glb.clouddn.com/wanyixiad/file/easymall/2015/12/566e92935ee4f.jpg","status_name":"未开奖","zj_status":0,"zj_status_name":"未中奖"}]
     */

    private String code;
    private String info;
    /**
     * id : 5
     * uid : 0
     * sid : 4
     * status : 0
     * end_number : 10000001
     * start_number : 10000001
     * addtime : 1450841476
     * shop_id : 1
     * periods : 1
     * number : 0
     * endtime : 0
     * price : 1000
     * y_price : 3
     * action_num : 0
     * name : 苹果手机
     * photo : http://7xp4uq.com1.z0.glb.clouddn.com/wanyixiad/file/easymall/2015/12/566e92935ee4f.jpg
     * status_name : 未开奖
     * zj_status : 0
     * zj_status_name : 未中奖
     */

    private List<DataEntity> data;

    public void setCode(String code) {
        this.code = code;
    }

    public void setInfo(String info) {
        this.info = info;
    }

    public void setData(List<DataEntity> data) {
        this.data = data;
    }

    public String getCode() {
        return code;
    }

    public String getInfo() {
        return info;
    }

    public List<DataEntity> getData() {
        return data;
    }

    public static class DataEntity {
        private String id;
        private String uid;
        private String sid;
        private String status;
        private String end_number;
        private String start_number;
        private String addtime;
        private String shop_id;
        private String periods;
        private String number;
        private String endtime;
        private String price;
        private String y_price;
        private String action_num;
        private String name;
        private String photo;
        private String status_name;
        private int zj_status;
        private String zj_status_name;

        public void setId(String id) {
            this.id = id;
        }

        public void setUid(String uid) {
            this.uid = uid;
        }

        public void setSid(String sid) {
            this.sid = sid;
        }

        public void setStatus(String status) {
            this.status = status;
        }

        public void setEnd_number(String end_number) {
            this.end_number = end_number;
        }

        public void setStart_number(String start_number) {
            this.start_number = start_number;
        }

        public void setAddtime(String addtime) {
            this.addtime = addtime;
        }

        public void setShop_id(String shop_id) {
            this.shop_id = shop_id;
        }

        public void setPeriods(String periods) {
            this.periods = periods;
        }

        public void setNumber(String number) {
            this.number = number;
        }

        public void setEndtime(String endtime) {
            this.endtime = endtime;
        }

        public void setPrice(String price) {
            this.price = price;
        }

        public void setY_price(String y_price) {
            this.y_price = y_price;
        }

        public void setAction_num(String action_num) {
            this.action_num = action_num;
        }

        public void setName(String name) {
            this.name = name;
        }

        public void setPhoto(String photo) {
            this.photo = photo;
        }

        public void setStatus_name(String status_name) {
            this.status_name = status_name;
        }

        public void setZj_status(int zj_status) {
            this.zj_status = zj_status;
        }

        public void setZj_status_name(String zj_status_name) {
            this.zj_status_name = zj_status_name;
        }

        public String getId() {
            return id;
        }

        public String getUid() {
            return uid;
        }

        public String getSid() {
            return sid;
        }

        public String getStatus() {
            return status;
        }

        public String getEnd_number() {
            return end_number;
        }

        public String getStart_number() {
            return start_number;
        }

        public String getAddtime() {
            return addtime;
        }

        public String getShop_id() {
            return shop_id;
        }

        public String getPeriods() {
            return periods;
        }

        public String getNumber() {
            return number;
        }

        public String getEndtime() {
            return endtime;
        }

        public String getPrice() {
            return price;
        }

        public String getY_price() {
            return y_price;
        }

        public String getAction_num() {
            return action_num;
        }

        public String getName() {
            return name;
        }

        public String getPhoto() {
            return photo;
        }

        public String getStatus_name() {
            return status_name;
        }

        public int getZj_status() {
            return zj_status;
        }

        public String getZj_status_name() {
            return zj_status_name;
        }
    }
}
